package com.hello.factory;

/**
 * 变化部分，子类
 */
public class Apple implements Fruit {

    public void eat(){
        System.out.println("Apple");
    }

}